package cn.pku.eecs.ldn.app;

import android.app.Application;
import android.content.Context;
import android.util.Log;

public class MyApplication extends Application{
	private static final String TAG = "MyApplication";
	public static Context globalContext = null;
	
	@Override
	public void onCreate() {
		super.onCreate();
		Log.i(TAG, "onCreate");
		globalContext = this;
	}
	
	/**
	 * I don't know when this method will be called. Seems it will never be called...
	 */
	@Override
	public void onTerminate() {
		super.onTerminate();
		Log.i(TAG, "onTerminate");
	}

}
